package com.infitecs.eyas.quality.model;

import com.infitecs.eyas.power.model.OperateField;
import com.infitecs.eyas.util.NumberUtil;

/**
 * Created by Demon on 2015/4/23.
 */
public class Industry {
    private int id;
    private double mar;
    private double mf;
    private double mad;
    private double vdaf;
    private double aar;
    private double var;
    private int powerCaseId;
    private String vdafState;
    private String varState;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getMarShow() {
        return NumberUtil.trimZero(mar + "");
    }

    public double getMar() {
        return mar;
    }

    public void setMar(double mar) {
        this.mar = mar;
    }

    public String getMfShow() {
        return NumberUtil.trimZero(mf + "");
    }

    public double getMf() {
        return mf;
    }

    public void setMf(double mf) {
        this.mf = mf;
    }

    public double getMad() {
        return mad;
    }

    public String getMadShow() {
        return NumberUtil.trimZero(mad + "");
    }

    public void setMad(double mad) {
        this.mad = mad;
    }

    public double getVdaf() {
        return vdaf;
    }

    public String getVdafShow() {
        return NumberUtil.trimZero(vdaf + "");
    }


    public void setVdaf(double vdaf) {
        this.vdaf = vdaf;
    }

    public double getAar() {
        return aar;
    }

    public String getAarShow() {
        return NumberUtil.trimZero(aar + "");
    }


    public void setAar(double aar) {
        this.aar = aar;
    }

    public double getVar() {
        return var;
    }

    public String getVarShow() {
        return NumberUtil.trimZero(var + "");
    }

    public void setVar(double var) {
        this.var = var;
    }

    public int getPowerCaseId() {
        return powerCaseId;
    }

    public void setPowerCaseId(int powerCaseId) {
        this.powerCaseId = powerCaseId;
    }

    public String getVdafState() {
        return vdafState;
    }

    public void setVdafState(String vdafState) {
        this.vdafState = vdafState;
    }

    public String getVarState() {
        return varState;
    }

    public void setVarState(String varState) {
        this.varState = varState;
    }
}
